//
//  NetDataCommunication.h
//  LM
//
//  Created by Zhang Edward on 6/28/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface JddNetDataCommunication : NSObject {
	@private
	SEL       selectorCallback;
	id        objectResponseCallback;
	NSURLConnection *connection;
}

-(NSData*)requestDataByUrl:(NSString*)url;
//2014.7.8 zbj add
//-(NSData*)requestDataByPostBodyDataGouCai:(NSData*)bodyData;

//-(NSData*)requestDataByPostUrl:(NSString*)url bodyString:(NSString*)bodyString;
-(NSData*)requestDataByPostUrl:(NSString*)url bodyData:(NSData*)bodyData;
-(NSData*)requestDataByPostBodyData:(NSData*)bodyData;
-(void)requestDataAsync:(NSString *)url selectorCallback:(SEL)callback objectReceiveCallback:(id)callbackObject;
//购彩专用
-(NSData*)requestDataByPostBodyDataGouCai:(NSData*)bodyData;

@end
